DISCUSSION
When an exception handler is set and an exception occurs, the task is suspended and a message is sent to the message queue specified by
exceptionQ
. The message contains the following information:
-
The first 32-bits contain the ID of the task in which the exception occurred.
-
The second 32-bits contain the type of exception that occurred. See the header file MachineExceptions.h
for a listing of exception types.
-
The last 32-bits are set to NULL
(reserved for future use).